Optimal. Leaf size=49 \[ -\frac {2 a^2}{3 b^3 (a+b x)^{3/2}}+\frac {4 a}{b^3 \sqrt {a+b x}}+\frac {2 \sqrt {a+b x}}{b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {45}
\begin {gather*} -\frac {2 a^2}{3 b^3 (a+b x)^{3/2}}+\frac {4 a}{b^3 \sqrt {a+b x}}+\frac {2 \sqrt {a+b x}}{b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int \frac {x^2}{(a+b x)^{5/2}} \, dx &=\int \left (\frac {a^2}{b^2 (a+b x)^{5/2}}-\frac {2 a}{b^2 (a+b x)^{3/2}}+\frac {1}{b^2 \sqrt {a+b x}}\right ) \, dx\\ &=-\frac {2 a^2}{3 b^3 (a+b x)^{3/2}}+\frac {4 a}{b^3 \sqrt {a+b x}}+\frac {2 \sqrt {a+b x}}{b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 35, normalized size = 0.71 \begin {gather*} \frac {2 \left (8 a^2+12 a b x+3 b^2 x^2\right )}{3 b^3 (a+b x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 36, normalized size = 0.73
method | result | size |
gosper | \(\frac {2 x^{2} b^{2}+8 a b x +\frac {16}{3} a^{2}}{b^{3} \left (b x +a \right )^{\frac {3}{2}}}\) | \(32\) |
trager | \(\frac {2 x^{2} b^{2}+8 a b x +\frac {16}{3} a^{2}}{b^{3} \left (b x +a \right )^{\frac {3}{2}}}\) | \(32\) |
risch | \(\frac {2 \sqrt {b x +a}}{b^{3}}+\frac {2 a \left (6 b x +5 a \right )}{3 b^{3} \left (b x +a \right )^{\frac {3}{2}}}\) | \(35\) |
derivativedivides | \(\frac {2 \sqrt {b x +a}+\frac {4 a}{\sqrt {b x +a}}-\frac {2 a^{2}}{3 \left (b x +a \right )^{\frac {3}{2}}}}{b^{3}}\) | \(36\) |
default | \(\frac {2 \sqrt {b x +a}+\frac {4 a}{\sqrt {b x +a}}-\frac {2 a^{2}}{3 \left (b x +a \right )^{\frac {3}{2}}}}{b^{3}}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 41, normalized size = 0.84 \begin {gather*} \frac {2 \, \sqrt {b x + a}}{b^{3}} + \frac {4 \, a}{\sqrt {b x + a} b^{3}} - \frac {2 \, a^{2}}{3 \, {\left (b x + a\right )}^{\frac {3}{2}} b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.42, size = 52, normalized size = 1.06 \begin {gather*} \frac {2 \, {\left (3 \, b^{2} x^{2} + 12 \, a b x + 8 \, a^{2}\right )} \sqrt {b x + a}}{3 \, {\left (b^{5} x^{2} + 2 \, a b^{4} x + a^{2} b^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 121 vs.
\(2 (46) = 92\).
time = 0.40, size = 121, normalized size = 2.47 \begin {gather*} \begin {cases} \frac {16 a^{2}}{3 a b^{3} \sqrt {a + b x} + 3 b^{4} x \sqrt {a + b x}} + \frac {24 a b x}{3 a b^{3} \sqrt {a + b x} + 3 b^{4} x \sqrt {a + b x}} + \frac {6 b^{2} x^{2}}{3 a b^{3} \sqrt {a + b x} + 3 b^{4} x \sqrt {a + b x}} & \text {for}\: b \neq 0 \\\frac {x^{3}}{3 a^{\frac {5}{2}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.63, size = 39, normalized size = 0.80 \begin {gather*} \frac {2 \, \sqrt {b x + a}}{b^{3}} + \frac {2 \, {\left (6 \, {\left (b x + a\right )} a - a^{2}\right )}}{3 \, {\left (b x + a\right )}^{\frac {3}{2}} b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 35, normalized size = 0.71 \begin {gather*} \frac {6\,{\left (a+b\,x\right )}^2+12\,a\,\left (a+b\,x\right )-2\,a^2}{3\,b^3\,{\left (a+b\,x\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________